﻿<%@ Control Language="C#" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Import Namespace="Hidistro.Core" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.AccountCenter.CodeBehind" Assembly="Hidistro.UI.AccountCenter.CodeBehind" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.SaleSystem.Tags" Assembly="Hidistro.UI.SaleSystem.Tags" %>
<div class="member_center_center clearfix">
    <div class="member_center_center_top clearfix">
        <div class="info-lcol clearfix">
            <div class="u-pic clearfix">
                <img style="width: 94px; height: 94px;" alt="用户头像" src="http://image.juseshop.com/images\/index/touxiamg_xx.png" />
                <div class="mask clearfix"></div>
            </div>
            <div class="info-m clearfix">
                <div class="u-name clearfix">
                    <%--<a href="http://me.jd.com" target="_blank">jd_157731jsq</a>--%>
                    <Hi:SiteUrl UrlName="user_UserProfile" runat="server"><Hi:Common_CurrentUser runat="server" ID="lblCurrentUser" /></Hi:SiteUrl>
                </div>
                <div class="u-level">
                    <span class="rank r2"><em>等级：</em> <s></s></span><span class="rankss"><%--<em>积分：</em><i>1000</i>--%></span>
                </div>
                <div class="u-safe">
                    <span>账户安全：</span>
                    <i class="safe-rank05"><em></em></i>
                    <strong id="rank-text" class="rank-text ftx-05">中</strong>
                    <%--<a href="#">提升</a>--%><Hi:SiteUrl UrlName="user_UpdatePwd" runat="server">提升</Hi:SiteUrl>
                </div>

            </div>
            <div class="info-line">
                <span class="left-icon"></span>
            </div>
        </div>
        <div class="info-lco2 clearfix">
            <ul>
                <li><a href="/user/UserOrders.aspx?orderStatus=1">
                    <img src="http://image.juseshop.com/images\/index/d_fukuan.png" /><p><i>待付款</i><%--<em>0</em>--%></p>
                </a></li>
                <li><a href="/user/UserOrders.aspx?orderStatus=2">
                    <img src="http://image.juseshop.com/images\/index/d_shouhuo.png" /><p><i>待发货</i><%--<em>0</em>--%></p>
                </a></li>
                <li><a href="/user/UserOrders.aspx?orderStatus=3">
                    <img src="http://image.juseshop.com/images\/index/d_pingjia.png" /><p><i>待收货<%--待评价--%></i><%--<em>0</em>--%></p>
                </a></li>

            </ul>

        </div>

    </div>
    <div class="member_center_center_content clearfix">
        <div class="member_center_center_contentsss clearfix">
            <div class="member_center_center_contentsss_nav clearfix">
                <p class="contentsss_nav1">我的订单</p>
                <p class="contentsss_nav2">
                    <Hi:SiteUrl UrlName="user_UserOrders" runat="server">查看全部订单</Hi:SiteUrl>
                </p>
            </div>

            <div class="member_center_center_contentsss_navs clearfix">
                <ul>
                    <li class="contentsss_navs1">商品信息</li>
                    <%--<li class="contentsss_navs2">单价（元）</li>
                                    <li class="contentsss_navs3">数量</li>--%>
                    <li class="contentsss_navs4">实付款（元）</li>
                    <li class="contentsss_navs5">订单状态</li>
                    <li class="contentsss_navs6">操作</li>



                </ul>


            </div>

            <div class="member_center_center_contentsss_cont clearfix">
                <asp:Repeater ID="rptOrderlist" runat="server">
                    <ItemTemplate>
                        <div class="member_center_center_contentsss_cpxx clearfix">
                            <ul>

                                <li class="contentsss_navs7new"><%--contentsss_navs7--%>
                                    <asp:Repeater ID="rptOrderlistSon" runat="server">
                                        <ItemTemplate>
                                            <a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank">
                                                <img data-original="<%#Globals.GetImgUrl(Eval("ThumbnailsUrl").ToString())%>">
                                                <%--<a id="aname" runat="server"><%#Eval("ProductName") %></a>--%>
                                                <asp:HyperLink ID="aname" runat="server" Target="_blank" NavigateUrl='<%# Globals.GetSiteUrls().UrlData.FormatUrl("productDetails",Eval("ProductId"),Eval("CategoryUrl"))%>' Text="查看订单" />
                                            </a>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </li>

                                <%--                                        <li class="contentsss_navs7"><a href="#"><img src="images/member_center.png" /><p><span>nomitang</span>【小资怡情】蓝鲸德国进口逍遥游<em>高级女用加</em></p></a></li>--%>
                                <%--<li class="contentsss_navs8"><p>1</p></li>
                                        <li class="contentsss_navs9"><p>3</p></li>--%>
                                <li class="contentsss_navs10">
                                    <p class="one_oen_oen">￥<%#((decimal)Eval("OrderTotal")).ToString("F0")%></p>
                                    <%--<p>（含快递费：10.00）</p>--%></li>
                                <li class="contentsss_navs11">
                                    <p class="one_oen_oens"><%# Hidistro.Entities.Orders.OrderInfo.GetOrderStatusName((Hidistro.Entities.Orders.OrderStatus) Eval("OrderStatus")) %></p>
                                    <%--<p><a href="#">物流进度</a></p>--%></li>
                                <li class="contentsss_navs12">
                                    <p><a href="javascript:void(0)" class="progresss_red"  onclick="return paySelect(this)"  runat="server" oId='<%# Eval("OrderId") %>' pId='<%# Eval("PaymentTypeId") %>' ID="hlinkPay" Visible="false">立即付款</a></p>
                                    <p class="one_oen_oenss">
                                        <asp:HyperLink ID="hlinkOrderDetails" runat="server" NavigateUrl='<%# Globals.GetSiteUrls().UrlData.FormatUrl("user_OrderDetails",Eval("orderId"))%>' Text="查看订单" />
                                    </p>
                                    <%--<p><a href="#">确认订单</a></p>--%></li>
                            </ul>


                        </div>
                    </ItemTemplate>
                </asp:Repeater>



            </div>


        </div>

         

    </div>
    <div class="member_center_center_contentsss_shoucang clearfix">
        <div class="member_center_center_contentsss_nav clearfix">
            <p class="contentsss_nav1">我的收藏</p>
            <p class="contentsss_nav2">
                <Hi:SiteUrl UrlName="user_UserFavorites" runat="server">查看更多</Hi:SiteUrl>
            </p>
        </div>
        <div class="member_center_center_contentsss_shoucangtutu">
            <ul>
                <asp:Repeater runat="server" ID="rptFavorites">
                    <ItemTemplate>
                        <li><a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank">
                            <%--<a href="/product_detail-<%# Eval("ProductId") %>.htm" target="_blank">--%>
                            <Hi:ListImage ID="Common_ProductThumbnail1" runat="server" DataField="ThumbnailUrl100" />
                            <%--<p><%# Eval("MarketPrice").ToString()==""?"0":((decimal)Eval("SalePrice")).ToString("F0").ToString() %></p>--%>
                            <p><%#Eval("ProductName")%></p>
                                    <p class="collect_jiage"><span>￥<%#((decimal)Eval("SalePrice")).ToString("F0")%></span><i>¥<%#((decimal)Eval("MarketPrice")).ToString("F0")%></i></p>
                        </a></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="menber_left">
                <a href="#">
                    <img src="http://image.juseshop.com/images\/index/shoucang_zuo.png" /></a>
            </div>
            <div class="menber_right">
                <a href="#">
                    <img src="http://image.juseshop.com/images\/index/shoucang_you.png" /></a>
            </div>
        </div>

    </div>

</div>
<div class="member_center_center_rightsssss">
    <div class="member_center_center_right clearfix">
        <div class="member_center_center_right1">
            <div class="member_center_center_right1_tb">
                <p>会员推荐</p>
            </div>
            <div class="member_center_center_right1_tb1">
                <a href="/spreadPage-104.htm" target="_blank">
                    <img src="http://image.juseshop.com/images\/index/shoucang_ssds11.png" /></a>
            </div>
            <div class="member_center_center_right1_tb2">
                <a href="#">
                    <img src="http://image.juseshop.com/images\/index/shoucang_ssds12.png" /></a> <a class="two_one_three" href="#">
                        <img src="http://image.juseshop.com/images\/index/shoucang_ssds13.png" /></a>
            </div>
        </div>
        <div class="member_center_center_right2">
            <div class="member_center_center_right2_tb">
                <p>浏览历史</p>
                <p class="njiokm">
                    <Hi:SiteUrl UrlName="user_BrowseRecord" runat="server">查看更多</Hi:SiteUrl>
                </p>
            </div>
            <div class="member_center_center_right2_neirong">
                <ul>
                    <asp:Repeater runat="server" ID="rptBrowseRecord">
                        <ItemTemplate>
                            <li>
                                <a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank">
                                    <img src="<%#Globals.GetImgUrl(Eval("ThumbnailUrl180").ToString())%>" />
                                    <p>￥<%#((decimal)Eval("SalePrice")).ToString("F0")%></p>
                                </a>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>

                </ul>


            </div>

        </div>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $(".member_center_center_right2_neirong ul li:gt(3)").hide();//只显示前4条浏览纪录
        $(".member_center_center_right2_neirong ul li:odd").addClass("shoucangoo");
        $(".u-name").find('a').text($(".u-name").find('a').text().replace("您好，", ""));
        $(".contentsss_navs7new").each(function () {
            $(this).find("a:gt(3)").hide();
        });
        $(".member_center_center_contentsss_shoucangtutu ul li:eq(4)").addClass("tyuh");
        if ($.trim($(".member_center_center_contentsss_shoucangtutu ul").html()) == "") {
            $(".menber_left,.menber_right").hide();
        }
    });
</script>
<style>
    .collect_jiage span {
        font-size: 16px;
    color: #ed145b;
    margin-right: 10px;

    }
    .collect_jiage i {
        font-size: 12px;
    color: #9b9b9c;
    text-decoration: line-through;
    }
</style>

